package com.sinosoft;

import org.springframework.boot.WebApplicationType;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.config.server.EnableConfigServer;

/**
 * @author loujiang
 * @date 2020/12/28 9:33 下午
 * @NOTE:
 */
@SpringBootApplication
@EnableConfigServer
public class ConfigBusServerApplication
{

    public static void main(String[] args) {

        new SpringApplicationBuilder(ConfigBusServerApplication.class).
                web(WebApplicationType.SERVLET).
                run(args);
    }
}
